package cn.doctor.assistant.pad.ui.hudong;


import com.blunderer.materialdesignlibrary.fragments.ViewPagerWithTabsFragment;
import com.blunderer.materialdesignlibrary.handlers.ViewPagerHandler;

/**
 * Created by jiaolf on 2016/3/25.
 *
 * 互动-联系人
 *
 */
public class ContactsFragment extends ViewPagerWithTabsFragment{
    @Override
    protected boolean expandTabs() {
        return true;
    }

    @Override
    public ViewPagerHandler getViewPagerHandler() {
        return new ViewPagerHandler(getActivity())
                .addPage("会话", new ChatHistoryFragment())
                .addPage("联系人", new ContactsListFragment());
    }

    @Override
    public int defaultViewPagerPageSelectedPosition() {
        return 0;
    }
}
